package com.itheima.d01_properties;

import java.io.FileWriter;
import java.io.IOException;
import java.util.Properties;

public class Test02 {
    public static void main(String[] args) throws IOException {
        //
        //
        Properties pro = new Properties();

        //2.
        pro.setProperty("xiaohuamao", "123456");
        pro.setProperty("lihuamao", "666");
        pro.setProperty("jumao", "888");

        //3.
        //pro.store(new FileWriter("day12_properties\\src\\com\\itheima\\d01_properties\\cat.properties"));


    }
}
